Calculate the Tension of a Cord